<div class="bjui-pageHeader">
    <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active"><a href="#edit_basic" role="tab" data-toggle="tab" >基本信息</a></li>
        <li role="presentation"><a href="#edit_address" role="tab" data-toggle="tab">收货地址</a></li>
    </ul>
</div>
<div class="bjui-pageContent">
    <div class="tab-content">
        <div id="edit_basic" role="tabpanel" class="tab-pane active">
            <form action="{:U('save_user_infor')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
                <input type="hidden" name="id" value="{$va.id}"/>
                <div class="form-group">
                    <label class="x100">昵称:</label>
                    <input type="text" name="name" data-rule="required" value="{$va.name}"/>
                </div>
                <div class="form-group">
                    <label class="x100">登录密码:</label>
                    <a href="{:U('Index/save')}" data-toggle="doajax" data-confirm-msg="确定要为这位会员重置密码??重置成功后,将会通过发邮件或手机短信的方式通知用户">重置密码</a>
                </div>
                <div class="form-group">
                    <label class="x100">邮箱:</label>
                    <input type="text" name="email" data-rule="required;email" value="{$va.email}"/>
                </div>
                <div class="form-group">
                    <label class="x100">手机:</label>
                    <input type="text" name="mobile" data-rule="required;mobile" value="{$va.mobile}" disabled="disabled"/>
                </div>
                <div class="form-group">
                    <label class="x100">性别:</label>
                    <input type="radio" name="sex" value="男" id="member_sex1" data-toggle="icheck" data-label="男" <if condition="$va.sex eq '男'"> checked</if>  />
                    <input type="radio" name="sex" value="女" id="member_sex2" data-toggle="icheck" data-label="女" <if condition="$va.sex eq '女'"> checked</if>  />
                </div>
                <div class="form-group">
                    <label class="x100">注册时间:</label>
                    <input type="text" name="" data-toggle="datepicker" data-rule="required" value="{$va.add_time}" disabled="disabled"/>
                </div>
                <div class="form-group">
                    <label class="x100">是否分销:</label>
                    <input type="radio" name="status" id="member_status1" data-toggle="icheck" data-label="是"  checked  />
                    <input type="radio" name="status" id="member_status2" data-toggle="icheck" data-label="否"   />
                </div>
                <div class="form-group">
                    <label class="x100">禁用:</label>
                    <input type="radio" name="status" value="0" id="member_disabled2" data-toggle="icheck" data-label="启用"  <if condition="$va.status eq '0'"> checked</if>   />
                    <input type="radio" name="status" value="1" id="member_disabled2" data-toggle="icheck" data-label="禁用"  <if condition="$va.status eq '1'"> checked</if> />
                </div>
                <div class="form-group">
                    <label class="x100">余额:</label>
                    <input type="text" name="balance" value="{$va.balance}" data-rule="required" />
                </div>
                 <div class="form-group">
                    <label class="x100">积分:</label>
                    <input type="text" name="point" value="{$va.point}" data-rule="required" />
                </div>
                <!--
                <div class="form-group">
                    <label class="x100">累计分佣:</label>
                    <input type="text" name="" data-rule="required" />
                </div> -->
                <!-- <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
                    <tbody>
                    <tr>
                        <td>上一级</td>
                        <td>用户编号或昵称</td>
                        <td>一级下线数量</td>
                        <td>20</td>
                    </tr>
                    <tr>
                        <td>上二级</td>
                        <td>23</td>
                        <td>二级下线数量</td>
                        <td>10</td>
                    </tr>
                    <tr>
                        <td>上三级</td>
                        <td>33</td>
                        <td>三级下线数量</td>
                        <td>30</td>
                    </tr>
                    </tbody>
                </table> -->

            </form>
        </div>
        <div id="edit_address" role="tabpanel" class="tab-pane">
            <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
                <thead>
                <tr>
                    <th>收货人</th>
                    <th>联系方式</th>
                    <th>地址</th>
                   <!--  <th>使用次数</th> -->
                </tr>
                </thead>
                <tbody>
                <volist name="address" id="ao">
                <tr>
                    <td>{$ao.name}</td>
                    <td>{$ao.mobile}</td>
                    <td>{:area_name($ao['province'])}{:area_name($ao['city'])}{:area_name($ao['area'])}{:area_name($ao['towns'])}{$ao.address}</td>
                    <!-- <td>10</td> -->
                </tr>
                </volist>
                </tbody>
            </table>
        </div>
    </div>

</div>
<include file="Common/footer" ftype="save" />